package cn.com.xcf.service.impl;

import cn.com.xcf.dao.mapper.TCheckCostDetailMapper;
import cn.com.xcf.dao.model.TCheckCostDetail;
import cn.com.xcf.dao.model.TCheckCostDetailExample;
import cn.com.xcf.service.CheckCostDetailService;
import cn.com.xcf.service.base.BaseServiceImpl;
import org.springframework.transaction.annotation.Transactional;

/**
 * TCheckCostDetailService实现
 * @author WongBin
 * @date 2017/11/22.
 */
@Transactional(rollbackFor = Exception.class)
public class CheckCostDetailServiceImpl
        extends BaseServiceImpl<TCheckCostDetailMapper, TCheckCostDetail, TCheckCostDetailExample>
        implements CheckCostDetailService {

    private TCheckCostDetailMapper mapper;
    public void setMapper(TCheckCostDetailMapper tCheckIncomeDetailMapper) {
        this.mapper = tCheckIncomeDetailMapper;
    }
    @Override
    public void initMapper() {
        //super.initMapper();
        super.mapper = this.mapper;
    }
}